package com.book.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cxy
 * @since 2023-10-16 12:18:10
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_chapter_content")
public class ChapterContent extends Chapter implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("chapter_content")
    private String chapterContent;

    @TableField("attr1")
    private Integer attr1;

    @TableField("attr2")
    private String attr2;


    public static final String ID = "id";

    public static final String CHAPTER_CONTENT = "chapter_content";

    public static final String ATTR1 = "attr1";

    public static final String ATTR2 = "attr2";

}
